using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using AjaxControlToolkit;

public partial class Controls_AdvCenter : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //DataTable tbl=FShop.BAL.Advertise_BAL.Get_AdvertiseAsPaging(1, 4, "Adv_ID DESV", "*", "", "");
        //if (tbl.Rows.Count == 0) return;

        //AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[tbl.Rows.Count];

        //for (int i = 0; i < tbl.Rows.Count;i++ )
        //{
        //    slides[0] = new AjaxControlToolkit.Slide("Images/Adv/" + tbl.Rows[i]["Adv_Image"].ToString().tbl.Rows[i]["Adv_Title"].ToString(), tbl.Rows[i]["Adv_Links"].ToString());
        //}
        //return (slides);
    }
}
